﻿using System.Xml.Serialization;

namespace MobySharp.Results
{
    [XmlRoot("mobypicture")]
    public class BaseResult
    {
        [XmlElement(ElementName = "result")]
        public MobyResult Result { get; set; }

        #region Nested type: MobyResult

        public class MobyResult
        {
            [XmlText]
            public string Message { get; set; }

            [XmlAttribute(AttributeName = "code")]
            public int Code { get; set; }
        }

        #endregion
    }
}